projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9bf89a
)
(struct input_event): `code' is now an int.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 23 Dec 1993 00:54:23 +0000
(
00:54
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 23 Dec 1993 00:54:23 +0000
(
00:54
+0000)
src/termhooks.h
patch
|
blob
|
history
diff --git
a/src/termhooks.h
b/src/termhooks.h
index 06770c348eb06857146db0996e5e32046215b464..d9abb3e72ceec3289f5ec90bcf26ae7542155b37 100644
(file)
--- a/
src/termhooks.h
+++ b/
src/termhooks.h
@@
-259,7
+259,10
@@
struct input_event {
/* What kind of event was this? */
enum event_kind kind;
- Lisp_Object code;
+ /* For an ascii_keystroke, this is the character.
+ For a non_ascii_keystroke, this is the keysym code.
+ For a mouse event, this is the button number.
+ int code;
enum scroll_bar_part part;
/* This field is copied into a vector while the event is in the queue,